<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- define some taglibs -->
<%@ taglib uri="/struts-tags" prefix="s" %>


<!-- define some variables used in js file -->
<script>
    var contextPath="";
    var galaxyUserFaceKey="";
</script>




<html>
<head>

<title>在线填报-软件登记事项变更或补充申请</title>
<link href="<%=request.getContextPath() %>/css/formStyle.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="<%=request.getContextPath() %>/js/general.js"></script>
<script language="JavaScript" SRC="<%=request.getContextPath() %>/js/pgCalPicker.js"></script>
<script language="JavaScript" src="<%=request.getContextPath() %>/js/formcheck.js"></script>
<script language="JavaScript" src="<%=request.getContextPath() %>/js/createPeoples.js"></script>
<script language="JavaScript" src="<%=request.getContextPath() %>/js/showtips.js"></script>
<script language="JavaScript">
function addRowInfo(idstr){
	var td_obj = document.getElementById(idstr);
	var table_objs = td_obj.children;
	//alert(td_obj.children.length);
	var hidden_table = table_objs(0);
	//alert(hidden_table.innerHTML);
	//alert(hidden_table.tagName+","+hidden_table.style.display);
	//var newObj = hidden_table.cloneNode(true);
	var tmp_div = document.createElement("DIV");
	//alert(hidden_table.innerHTML);
	tmp_div.innerHTML = hidden_table.innerHTML;
	td_obj.appendChild(tmp_div);
}
function s_h_sign(obj)
{
	var _obj = getParent(obj, "TD");
	//alert("parent: " + _obj.childNodes(1).style.display);
	//var sign_display = _obj.childNodes(1).style.display;
	if(obj.value =='别名')
	{
		_obj.childNodes(1).style.display="block";
	}
	else
	{
		_obj.childNodes(1).style.display="none";
	}
}
</script>









<!--  与数据字典关联的数据-->



<title>软件合同登记表单校验</title>
<script language="javascript">

	function afterValid()
	{	
		var flag=true;
		// 判断变更或补充信息中各项是否超长
		getChangeInfo();
		var items = document.all('items').value;
		var beforeContent = document.all('beforeContent').value;
		var afterContent =document.all('afterContent').value;
		if(getStrLen(items) > 2000)
		{
			showErrorMsg(document.all("change_tip"), "填写的变更项或补充项超过2000个字符！");
			flag=false;
		}
		if(getStrLen(beforeContent) > 2000)
		{
			showErrorMsg(document.all("change_tip"), "填写的变更前内容或补充前内容超过2000个字符！");
			flag=false;
		}
		if(getStrLen(afterContent) > 2000)
		{
			showErrorMsg(document.all("change_tip"), "填写的变更后内容或补充后内容超过2000个字符！");
			flag=false;
		}
		if(document.all("afterContent2_").value!=""){
	      var app = StringToDate(document.all("afterContent2_").value);
	      var now=new Date();
	      if(now.getTime()-app.getTime() < 0){
	        showErrorMsg(document.all("afterContent2_"), "首次发表日期应小于等于当前日期！");
				flag = false;
	      }
	    }
		return flag;
	}
	
	function lastLogic()
	{
			getChangeInfo();
			getProveFile();
			
			
	}
	
	// 对于提交的证明材料，需要修改
	function getProveFile()
	{
		var proveFile = "原登记证书复印件,申请者身份证明文件";
		/*var applyType = getCheckedValue("applyType");
		if(applyType=="代理人")
		{
			proveFile +=",代理人委托书,代理人身份证明文件";
		}*/
		document.getElementById("proveFile").value = proveFile;
	}

	// 获取变更补充信息：变更项，变更前内容，变更后内容
	function getChangeInfo()
	{
		var obj1;
		var obj2;
		var obj3;

			obj1 = document.all('items1_');
			obj2 = document.all('beforeContent1_');
			obj3 = document.all('afterContent1_');
		
		var obj1_value = "";
		var obj2_value = "";
		var obj3_value = "";

		for(var i=0; i< obj1.length; i++)
		{
			if(obj1(i).value.trim() != "")
			{
				obj1_value += ((obj1_value=="")?"":";;;;") + obj1(i).value;
				obj2_value += ((obj2_value=="")?"":";;;;") + obj2(i).value;
				obj3_value += ((obj3_value=="")?"":";;;;") + obj3(i).value;
			}
		}
		//alert("obj1_value: " + obj1_value);
		//alert("obj2_value: " + obj2_value);
		//alert("obj3_value: " + obj3_value);
		if(document.all("applyingType")[1].checked == true){
		    obj1_value=document.all('items2_').value;
		    obj2_value=document.all('beforeContent2_').value;
		    obj3_value=document.all('afterContent2_').value;
		}
		document.all('items').value = obj1_value;
		document.all('beforeContent').value = obj2_value;
		document.all('afterContent').value = obj3_value;

		
	}

	 function showApplyingType()
	{
	    var obj1=document.all("items1_");
		var obj2=document.all("items2_");

		var obj1_bf=document.all("beforeContent1_");
		var obj1_af=document.all("afterContent1_");

        var obj2_bf=document.all("beforeContent2_");
		var obj2_af=document.all("afterContent2_");

		if(document.all("applyingType")[0].checked == true)
		{
			document.all("applying1").style.display="block";
			document.all("applying2").style.display="none";
			//document.all("bg").style.display="block";
			//document.all("bc").style.display="none";
			for(var i=0;i<obj1.length; i++){
			    if(obj1[i]!=null){ 
						obj2.valid = "no";
						obj2_bf.valid="no";
                        obj2_af.valid="no";

						obj1[i].valid = "required";
						obj1_bf[i].valid = "required";
						obj1_af[i].valid = "required";
			  }
			}
			reasonName.innerText ="变更理由说明";
		} 
		else
		{
			document.all("applying1").style.display="none";
			document.all("applying2").style.display="block";
			//document.all("bg").style.display="none";
			//document.all("bc").style.display="block";
			
			for(var i=0;i<obj1.length; i++){
			    if(obj1[i]!=null){ 
						obj1[i].valid = "no";
						obj1_bf[i].valid = "no";
						obj1_af[i].valid = "no";

						obj2.valid = "required";
						obj2_bf.valid="required";
                        obj2_af.valid="required";
			  }
			}
			reasonName.innerText ="补充理由说明";
		}	
	}
	
	 function showSoftFullName()
	{
	   var obj1 = document.all('items1_');
		   obj2 = document.all('beforeContent1_');
	    for(var i=0; i< obj1.length; i++)
		{
			if(obj1(i).value.trim() != ""&&obj1(i).value.trim()=="软件名称")
			{
				 obj2(i).value=document.getElementById("softFullName").value;
			}
		}
	}
	 function showDateInfo()
	{
	   var obj1 = document.all('items2_');
		   obj2 = document.all('beforeContent2_');
	    
			if(obj1.value.trim() != ""&&obj1.value.trim()=="首次发表日期")
			{
				 obj2.value="未发表";
			}
	}
</script>

</head>
<body>
<!-- 申请人选项div -->
<div id="mytips"></div>
<div id="_sqr_div" style="height:30px; display:none; border:1px solid #333333; 
	background-color:#FFFF99; padding:3px; position:absolute; 
	top:0px; left:0px; font-size:13px; line-height:15px; text-align:left;"
	onmouseover="this.style.display='block';" onMouseOut="this.style.display='none';"></div>
<div style="width:900px; text-align:center; padding:10px 0px 5px 0px;">
<form name="generalForm" method="post" action="calter_submit.do">
<input type="hidden" id="proveFile" name="proveFile" value="<s:property value='copyrightAlteration.proveFile'/>">
<input type="hidden" id="kind" name="kind" value="R41">
<input type="hidden" id="loginId" name="loginId" value="">
<input type="hidden" id="applyType" name="applyType" value="代理人"/>
<input type="hidden"  name="id" value="<s:property value='copyrightAlteration.id'/>"/>

<table width="80%" align="center" border="0" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" style="border-collapse:collapse">
   <tr><td align="center" style="font-size:14px;"><b>软件登记事项变更或补充申请</b>  &nbsp;&nbsp;
		<img id="myhelp"  tips="本表格是软件著作权登记或合同登记事项变更或者补充情况的记载，作为证明已办理软件著作权或者合同登记的事项变更或者补充的证明，例如：企业名称、自然人姓名发生变更进行。由已完成软件著作权登记的人和已完成软件著作权转让合同、专有许可合同登记人填写使用。&nbsp;<br>个人死亡、个人与法人或者法人之间的转让、法人因所有制发生改变的承受（工商变更）不在本变更的范围。"  onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()" src="<%=request.getContextPath() %>/images/icon_alert.gif" width="18" ></td></tr>
</table>

<div id="SoftRegSLZYD">
  <table width="80%" border="1" cellspacing="0" cellpadding="0" style="margin-top:20px;border:1px solid #333333;" align="center">

    <tr>
      <td class="contentbg small_title" colspan="2">软件基本信息</td>
    </tr>
    <tr>
      <td class="contentbg">软件名称及版本号</td>
      <td class="contentbg"><input type="text" name="softFullName" size="50" style="width:448px;"
		  tips="按照软件著作权登记证书中事项填写，包括软件全称、简称和版本号"
		  valid="required"  errmsg="软件名称不能为空!" 
		  length="200" value="<s:property value='copyrightAlteration.softFullName'/>"
		  onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()"/></td>
    </tr>
   <!-- <tr>
      <td class="contentbg">软件简称</td>
      <td class="contentbg"><input type="text" name="softForShort" size="50"
			tips="按照软件著作权登记证书中的软件简称填写。"  length="100" 
			onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()"/></td>
    </tr> 
    <tr>
      <td class="contentbg">版本号</td>
      <td class="contentbg"><input type="text" name="edition" 
		valid="required"  
		length="40" 
		tips="按照软件著作权登记证书中的软件版本号填写。"  
		errmsg="版本号不能为空!" 
		onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()"/></td>
    </tr>--> 
	<tr>
      <td class="contentbg">原登记类别</td>
      <td class="contentbg">
	  
		     
			     
					 
						<input type="radio" name="originalRegType" value="软件著作权登记" checked
						tips="按照所要变更的类别进行选择。"
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()">软件著作权登记
					 
					 
				 
				
			 
			     
					 
					 
						<input type="radio" name="originalRegType" value="软件著作权转让合同登记"
						tips="按照所要变更的类别进行选择。"
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()">软件著作权转让合同登记
					  
				 
				
			 
			     
					 
					 
						<input type="radio" name="originalRegType" value="软件著作权专有许可合同登记"
						tips="按照所要变更的类别进行选择。"
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()">软件著作权专有许可合同登记
					  
				 
				
			 
		</td>
    </tr>
	<tr>
      <td class="contentbg">原登记号</td>
      <td class="contentbg"><input type="text" name="originalRegNumber" value="<s:property value='copyrightAlteration.originalRegNumber'/>"
		valid="required"  
		length="40" 
		tips="填写软件著作权登记证书、合同登记证书的登记号码。如：2006SR10234，等。"  
		errmsg="原登记号不能为空!" 
		onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()"/></td>
    </tr>
	<tr>
      <td class="contentbg">原变更/补充登记证明编号</td>
      <td class="contentbg"><input type="text" name="originalChangeNumber" 
		length="40" value="<s:property value='copyrightAlteration.originalChangeNumber'/>"
		tips="如做过变更或补充登记的，需填写软件著作权变更/补充登记证明的编号。" 
		onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()"/></td>
    </tr>

	<tr>
      <td class="contentbg small_title" colspan="2">
      	<div style="float:left;">变更或补充信息</div>		
      	<div style="float:right" id="change_tip"></div>
      </td>
    </tr>

	<tr>
      <td class="contentbg">申请类型</td>
      <td class="contentbg">
	  	 
		 
		 
			
				
					<input type="radio" name="applyingType" value="变更登记" checked onClick="showApplyingType()"
						tips="对原著作权登记事项和合同登记事项的补充。"
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()">变更登记
				
				
			
		 
		 
		 
			
				
				
					<input type="radio" name="applyingType" value="补充登记" onClick="showApplyingType()"
						tips="对原著作权登记事项和合同登记事项的补充。"
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,500)" onMouseOut="cpcc_showtip()">补充登记
				
			
		 
		 
	  </td>
    </tr>

	  <input type="hidden" name="items" value="<s:property value='copyrightAlteration.items'/>">
      <input type="hidden" name="beforeContent" value="<s:property value='copyrightAlteration.beforeContent'/>">
      <input type="hidden" name="afterContent" value="<s:property value='copyrightAlteration.afterContent'/>"> 

    <tbody id="applying2"  style="display:none;">
    <tr>
      <td colspan="2" class="contentbg" style="padding:0px;"  style="border:0px solid red"> 
		<div style="display:;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="border:0px solid red" frame="void">
            	<tr>
				    <td style="width:169" style="border-width:0 1 0 0;">补充项</td>
				    <td style="width:220" style="border-width:0 1 0 0;">补充前内容</td>
				    <td align="center" style="border-width:0 0 0 0;"><div style="float:left;">补充后内容</div><div style="float:right;"></div>
					</td>
            	</tr>
            </table>
		</div>
	  </td>
	</tr>
	<tr>
		 <td id="changeItems1" colspan="2" class="contentbg" style="padding:0px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" frame="void">
               <tr>
			    <td style="width:169; border-width:0 1 0 0;">
			       <select name="items2_" onchange="showDateInfo()"
						tips="对原著作权登记事项和合同登记事项的变更。"  
						valid="" errmsg="变更项不能为空！"
						length="200" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()">
						   <option value="">-------请选择------</option>
						   
							  <option value="首次发表日期">首次发表日期</option>
				            
			        </select>
				</td>
			    <td style="width:220; border-width:0 1 0 0;">
					<textarea name="beforeContent2_" wrap="hard" rows="3" style="border-width:1"
						tips="变更或补充前的内容。"  
						valid="" errmsg="变更或补充前内容不能为空！"
						length="400" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"></textarea>
				</td>
			    <td align="left" style="border-width:0 0 0 0;">
					<input type="text" name="afterContent2_" id="afterContent2_" 
					 readonly onClick="fPopCalendar(this, this);" style="border-width:1"
						tips="变更或补充后的内容,请注意版本号中数字部分不可更改。"  
						valid="" errmsg="变更或补充后内容不能为空！"
						length="200" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()">
				</td>
  		       </tr>
            </table>
        </td>
    </tr>
	</tbody>

	<tbody id="applying1"  style="display:;">
    <tr>
      <td colspan="2" class="contentbg" style="padding:0px;">     
      	  <div style="display:;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
            	<tr>
				    <td style="width:169; border-width:0 1 0 0;">变更项</td>
				    <td style="width:220; border-width:0 1 0 0;">变更前内容</td>
				    <td align="center" style="border-width:0 0 0 0;">
				    	<div style="float:left;">变更后内容</div>
				    	<!-- <div style="float:right;"> -->
				    		<!-- <input type="button" value="添加" onClick="addRowInfo('changeItems');" tips="添加变更或补充信息" onmousemove="cpcc_showtip(this.tips,this.valid,this.length,100)" onMouseOut="cpcc_showtip()"/> -->
						<!-- </div> -->
					</td>
            	</tr>
            </table>
          </div>
        </td>
    </tr>
    <tr>
		 <td id="changeItems" colspan="2" class="contentbg" style="padding:0px;">
          <div style="display:none;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" frame="void">
               <tr>
			    <td style="width:169; border-width:1 1 0 0;">
			   <select name="items1_" onchange="showSoftFullName()"
						tips="对原著作权登记事项和合同登记事项的变更。"  
						valid="required" errmsg="变更项不能为空！"
						length="200" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()">
						<option value="">-------请选择------</option>
						   
							  <option value="软件名称">软件名称</option>
				           
							  <option value="著作权人姓名或名称">著作权人姓名或名称</option>
				           
							  <option value="转让方">转让方</option>
				           
							  <option value="受让方">受让方</option>
				           
							  <option value="许可方">许可方</option>
				           
							  <option value="被许可方">被许可方</option>
				            
			        </select>
				</td>
			    <td style="width:220; border-width:1 1 0 0;"><textarea name="beforeContent1_" wrap="hard" rows="3" style="border-width:1"
					tips="变更或补充前的内容。"  
					valid="required" errmsg="变更或补充前内容不能为空！"
					length="400" 
					onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"></textarea>
				</td>
			    <td align="center" style="border-width:1 0 0 0;">
					<div style="float:left;"><textarea name="afterContent1_" wrap="hard" rows="3" style="border-width:1"
					tips="变更或补充后的内容,请注意版本号中数字部分不可更改。"  
					valid="required" errmsg="变更或补充后内容不能为空！"
					length="400" 
					onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"></textarea>
					</div>
					<div style="float:right;"><input type="button" value="删除" onClick="deleteRow(this);" /></div>
				</td>
		  	  </tr>
            </table>
          </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" frame="void">
               <tr>
			    <td style="width:169; border-width:0 1 0 0;">
			       <select name="items1_" onchange="showSoftFullName()"
						tips="对原著作权登记事项和合同登记事项的变更。"  
						valid="required" errmsg="变更项不能为空！"
						length="200" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()">
						   <option value="">-------请选择------</option>
						   
							  <option value="软件名称">软件名称</option>
				           
							  <option value="著作权人姓名或名称">著作权人姓名或名称</option>
				           
							  <option value="转让方">转让方</option>
				           
							  <option value="受让方">受让方</option>
				           
							  <option value="许可方">许可方</option>
				           
							  <option value="被许可方">被许可方</option>
				            
			        </select>
				</td>
			    <td style="width:220; border-width:0 1 0 0;">
					<textarea name="beforeContent1_" wrap="hard" rows="3" style="border-width:1"
						tips="变更或补充前的内容。"  
						valid="required" errmsg="变更或补充前内容不能为空！"
						length="400" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"></textarea>
				</td>
			    <td align="left" style="border-width:0 0 0 0;">
					<textarea name="afterContent1_" wrap="hard" rows="3" style="border-width:1"
						tips="变更或补充后的内容,请注意版本号中数字部分不可更改。"  
						valid="required" errmsg="变更或补充后内容不能为空！"
						length="400" 
						onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"></textarea>				
				</td>
  		       </tr>
            </table>
        </td>
    </tr>
	</tbody>
    
       
	<tr>
      <td class="contentbg"><span id="reasonName">变更理由说明</span></td>
      <td class="contentbg">
	  	 <textarea name="reason" wrap="hard" rows="3" cols="200" style="width:450;border-width:2"
			tips="简明扼要地说明登记事项和内容变更或补充的理由，变更理由填写应规范，如企业名称变更的可填写&nbsp;“依工商局核准，企业名称已经发生变更，现申请著作权人名称变更”。需要提交证明的，则应当附具相关的证明文件。"  
			valid="required" errmsg="变更理由说明不能为空！"
			length="200" 
			onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"><s:property value='copyrightAlteration.reason'/></textarea>
	  </td>
    </tr>

	<tr>
      <td class="contentbg small_title" colspan="2">申请办理信息</td>
    </tr>
	
	<!-- <tr><td class="contentbg">申请办理方式</td><td class="contentbg"><input type="radio" name="applyType" value="由著作权人办理"  checked onClick="agent_showOrHide(this)" >由著作权人办理<input type="radio" name="applyType" value="由合同登记人办理"   onClick="agent_showOrHide(this)" >由合同登记人办理<input type="radio" name="applyType" value="代理人"   onClick="agent_showOrHide(this)" >由代理人办理</td></tr>-->

    
 
<script>
/*function agent_showOrHide(obj)
{
	 if(obj.value == "代理人") 
	 {
	 	document.all("A-0").style.display="block";
	 }
	 else
	 {
	 	document.all("A-0").style.display="none";
	 }
}
*/
function peopleBean()
{
	// 用户名
	this.name = "";
	// 详细地址
	this.address = "";
	// 电话
	this.phone = "";
	// 邮政编码
	this.zip="";
	// 手机
	this.mobile="";
	// 传真号
	this.fax="";
	// E-mail
	this.email="";
	// 联系人
	this.person="";
}

/*function setPeopleValue(str)
{
	if(str == 'sqr')
	{
		document.getElementsByName('sqrname')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.companyName'/>";
		document.getElementsByName('sqraddress')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.detailAddress'/>";
		document.getElementsByName('sqrphone')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.contactNumber'/>";
		document.getElementsByName('sqrpostCode')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.postalcode'/>";
		document.getElementsByName('sqrmobile')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.phoneNumber'/>";
		document.getElementsByName('sqrfax')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.fax'/>";
		document.getElementsByName('sqremail')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.email'/>";
		document.getElementsByName('sqrcontactPerson')[0].value = "<s:property  value='#session._CRS_USER_LOGIN_SSID.contact'/>";
	}
	else if(str == 'dlr')
	{
		document.getElementsByName('agentDesc')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_DESC"/>';
		document.getElementsByName('dlrname')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_NAME"/>';
		document.getElementsByName('dlraddress')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_ADDRESS"/>';
		document.getElementsByName('dlrphone')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_PHONE"/>';
		document.getElementsByName('dlrpostCode')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_POSTCODE"/>';
		document.getElementsByName('dlrmobile')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_MOBILE"/>';
		document.getElementsByName('dlrfax')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_FAX"/>';
		document.getElementsByName('dlremail')[0].value = '<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_EMAIL"/>';
		document.getElementsByName('dlrcontactPerson')[0].value ='<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_CONTACT"/>';
	}
}*/

</script>
    <input type="hidden" id="shenqr" name="shenqr" value="申请人">
    <input type="hidden" id="dailr" name="dailr" value="代理人">
    
    <tr>
      <td class="contentbg small_title" colspan="2">
      <div style="float:left;">
	     
		     
		      
		     
		     
		     	申请人信息
		     
	      
      </div>
      <!-- <div style="float:right;"> -->
		  <!--	<input type="button" onClick="setPeopleValue('sqr');" value="我是申请人" tips="申请人为当前注册用户，可以从用户注册信息中提取相关信息，无需再次输入" onmousemove="cpcc_showtip(this.tips,this.valid,this.length,150)" onMouseOut="cpcc_showtip()" /> -->
      <!--</div> -->
      </td>
    </tr>    
    <tr>
      <td class="contentbg">姓名或单位名称</td>
      <td class="contentbg"><input id="sqrname" name="sqrname" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.companyName'/>" 
      					
			    		 
			     		
			  				tips="请准确填写申请人的姓名或单位名称，并与其他材料保持一致，申请人应是权利人之一"  
			  			
		    			 
					    valid="required"  errmsg="姓名或单位名称不能为空！"
					    length="250" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,400)" onMouseOut="cpcc_showtip()"/>
	  </td>
	</tr>
    <tr>
      <td class="contentbg">详细地址</td>
      <td class="contentbg"><input id="sqraddress" name="sqraddress" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.detailAddress'/>"
	  					tips="请填写实际联系地址，以便能及时收取证书或其它书面邮件"  
					    valid="required"  errmsg="不能为空！"
					    length="100" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
	<tr>
      <td class="contentbg">邮政编码</td>
      <td class="contentbg"><input id="sqrpostCode" name="sqrpostCode" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.postalcode'/>" 
	 					tips="请填写邮政编码"
					    length="8" 
					    onmousemove="setIsValid();cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
	<tr>
      <td class="contentbg">联系人</td>
      <td class="contentbg"><input id="sqrcontactPerson" name="sqrcontactPerson" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.contact'/>"
	  					tips="请填写联系人"  
					    valid="required"  errmsg="不能为空！"
					    length="40" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
    </tr>
    <tr>
      <td class="contentbg">电话号码</td>
      <td class="contentbg"><input id="sqrphone" name="sqrphone" title="格式如010-8888888" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.contactNumber'/>"
	  					tips="请填写联系电话号码"  length="40" 
					    valid="required"  errmsg="电话号码不能为空！"
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
    <tr>
      <td class="contentbg">E-mail</td>
      <td class="contentbg"><input id="sqremail" name="sqremail" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.email'/>" 
	  					tips="为了及时联系，请准确填写你的电子邮件地址，登记办理过程中的补正信息我们会以EMAIL通知"  
					    valid="required|isEmail"  errmsg="不能为空！|格式不对！"
					    length="50" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
    <tr>
      <td class="contentbg">手机号码</td>
      <td class="contentbg"><input id="sqrmobile" name="sqrmobile" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.phoneNumber'/>"
	  					tips="可选项，但如果要填写请按照正确的格式" length="30" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
	  </tr>
    <tr>
      <td class="contentbg">传真号码</td>
      <td class="contentbg"><input id="sqrfax" name="sqrfax" size="35" value="<s:property  value='#session._CRS_USER_LOGIN_SSID.fax'/>" 
	  					tips="可选项，但如果要填写请按照正确的格式" length="30" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
 
    <tbody id="A-0" style="display:block;">
    <tr>
      <td class="contentbg small_title" colspan="2"><div style="float:left;">代理人信息</div>
      	<!-- <div style="float:right;"> -->
		  <!-- 	<input type="button" onClick="setPeopleValue('dlr');" value="我是代理人"  tips="代理人为当前注册用户，可以从用户注册信息中提取相关信息，无需再次输入" onmousemove="cpcc_showtip(this.tips,this.valid,this.length,150)"  onMouseOut="cpcc_showtip()"/>-->
        <!-- </div> -->
      </td>
    </tr>
    <tr> 
	   <td class="contentbg" colspan="2">
    	   &nbsp;&nbsp;&nbsp;&nbsp;申请人委托下述代理人办理登记事宜，具体委托事项如下：<br>
    	   &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="agentDesc" size="60" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_DESC"/>" readonly
				tips="申请人委托代理的，在此栏填写委托代理权限和范围，以及代理授权期限。"  
				valid="required" errmsg="代理权限说明不能为空！"
				length="180" 
				onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/>
	    </td>
	</tr>
    <tr>
      <td class="contentbg">姓名或单位名称</td>
      <td class="contentbg"><input id="dlrname" name="dlrname" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_NAME"/>" readonly
	  					tips="请准确填写代理人的姓名或单位名称，并与其他材料保持一致"  
					    valid="required"  errmsg="不能为空！"
					    length="100" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,400)" onMouseOut="cpcc_showtip()"/>
	  </td>
	</tr>
    <tr> 
      <td class="contentbg">详细地址</td>
      <td class="contentbg"><input id="dlraddress" name="dlraddress" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_ADDRESS"/>" readonly
	  					tips="请填写实际联系地址，以便能及时收取证书或其它书面邮件"  
					    valid="required"  errmsg="不能为空！"
					    length="100" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
	<tr>
      <td class="contentbg">邮政编码</td>
      <td class="contentbg"><input id="dlrpostCode" name="dlrpostCode" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_POSTCODE"/>" readonly
	 					tips="请填写邮政编码"  
					    valid="required"  errmsg="不能为空！"
					    length="8" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
	<tr> 
      <td class="contentbg">联系人</td>
      <td class="contentbg"><input id="dlrcontactPerson" name="dlrcontactPerson" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_CONTACT"/>" readonly
	  					tips="请填写联系人"  
					    valid="required"  errmsg="不能为空！"
					    length="40" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
    </tr>
	<tr>
	   <td class="contentbg">电话号码</td>
	   <td class="contentbg"><input id="dlrphone" name="dlrphone" title="格式如010-8888888" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_PHONE"/>" readonly
	   		
	   		tips="可选项，但如果要填写请按照正确的格式"
			onmousemove="cpcc_showtip(this.tips,this.valid,this.length,350)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
    <tr>
      <td class="contentbg">E-mail</td>
      <td class="contentbg"><input id="dlremail" name="dlremail" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_EMAIL"/>"  readonly
	  					tips="为了及时联系，请准确填写你的电子邮件地址，登记办理过程中的补正信息我们会以EMAIL通知"  
					    valid="required|isEmail"  errmsg="不能为空！|E-mail格式不对！"
					    length="50" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,400)" onMouseOut="cpcc_showtip()"/></td>
	</tr>
    <tr>
      <td class="contentbg">手机号码</td>
      <td class="contentbg"><input id="dlrmobile" name="dlrmobile" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_MOBILE"/>" readonly
	  					tips="可选项，但如果要填写请按照正确的格式"  length="30" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
	  </tr>
    <tr>
      <td class="contentbg">传真号码</td>
      <td class="contentbg"><input id="dlrfax" name="dlrfax" size="35" value="<s:property  value="@cn.com.hbhgkj.config.Constants@AGENT_FAX"/>"  readonly
	  					tips="可选项，但如果要填写请按照正确的格式" length="30" 
					    onmousemove="cpcc_showtip(this.tips,this.valid,this.length,300)" onMouseOut="cpcc_showtip()"/></td>
	</tr>

    </tbody>

  </table> 
</div>

<table align="center">
		<tr height="5" ><td colspan="2"></td></tr>
		<tr>
			<td width="50">
			<input style="color:blue;" type="button" align="middle" value="保存" onClick="javascript:saveForm('copyrightAlteration.');" />
			</td>
			<td width="50">
			<input style="color:blue;" type="button" align="middle" value="取消" onClick="javascript:goBack();" />
			</td>
		</tr>
</table>
</form>
</div>
</body>
</html>